<template>
  <div id="read">
    <div class="title">文与字</div>
    <div class="cont">
      <van-swipe :autoplay="2000">
        <van-swipe-item>
          <img class="swiper" src="../assets/psb (2).jpg" alt>
        </van-swipe-item>
        <van-swipe-item>
          <img class="swiper" src="../assets/movie-xuanz.jpg" alt>
        </van-swipe-item>
        <van-swipe-item>
          <img class="swiper" src="../assets/psb (2).jpg" alt>
        </van-swipe-item>
        <van-swipe-item>
          <img class="swiper" src="../assets/movie.jpg" alt>
        </van-swipe-item>
      </van-swipe>
    </div>
    <app-Home-food></app-Home-food>
  </div>
</template>

<script>
import TabBar from "../components/TabBar";
export default {
  name: "Read",

  components: {
    appHomeFood: TabBar
  }
};
</script>

<style scoped>
#read {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.title {
  width: 100%;
  height: 0.5rem;
  background: #405f80;
  position: fixed;
  top: 0;
  left: 0;
  font-size: 0.2rem;
  color: #fff;
  letter-spacing: 0.02rem;
  line-height: 0.5rem;
  text-align: center;
}
.cont {
  width: 100%;
  margin: 0.53rem 0;
}
.swiper{
  width: 100%;
  height: 3.2rem;
  overflow: hidden;
}
</style>
